#ifndef TECPULGININTERFACE_H
#define TECPULGININTERFACE_H

#include <QObject>
#include <QWidget>
#include <QByteArray>
#include <QByteArrayData>

#define tecPluginInterface_IDD "tecPluginInterface_idd"

class tecPluginInterface : public QWidget{
Q_OBJECT
public:
     ~tecPluginInterface() {}
     tecPluginInterface()  {}

     virtual QWidget* RegisiterPluginUi() = 0;

     virtual void FastTimerLoop() = 0;
     virtual void SlowTimerLoop() = 0;

     virtual void RegisterMainInitTask() = 0;
     virtual void RegisterMainLoopTask() = 0;

     virtual void BackendDataRecv(QByteArray Data) = 0;
     virtual void BackendDataSend(QByteArray& Data) = 0;
};

Q_DECLARE_INTERFACE(tecPluginInterface, tecPluginInterface_IDD)

#endif // TECPULGININTERFACE_H
